package Test03;

/**
 * @Author: Re
 * @Date: 2020/11/30 23:50
 */
public class Test {
    public static void main(String[] args) {
        Student st1=new Student("Bill",
                80,
                90,
                100);
        Student st2=new Student("Mike",
                80,
                80,
                90);
        st1.setStdId(101);
        st2.setStdId(102);
        st1.setStdAge(20);
        st2.setStdAge(22);
        System.out.println(st1.getStdName());
        System.out.println(st2.getStdName());
        st1.compare(st2);
    }
}
